﻿IF EXISTS (SELECT * FROM sysobjects WHERE type = 'P' AND name = 'PRC_TB_CATEGORIES_DE')
	BEGIN
		DROP  Procedure  dbo.PRC_TB_CATEGORIES_DE
	END

GO

CREATE Procedure dbo.PRC_TB_CATEGORIES_DE
	(
		@TC_ID int
	)

AS

delete tb_categories
where tc_id = @tc_id

GO

GRANT EXEC ON dbo.PRC_TB_CATEGORIES_DE TO PUBLIC

GO

